﻿using System;
using System.Windows.Forms;
using UtfprLibrary.Windows.Forms;
using WinFormApp_Sample.Data;
using UtfprLibrary.EntityFramework.ComponentModel;
using System.Data.Objects.DataClasses;

namespace WinFormApp_Sample.WinForm {
    static class Program {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main() {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            UtfprConfiguration.Instance
                //tem um bug, não está mostrando a tela de splash
                .SetFormSplash<FormSplash>()
                .SetFormMain<FormMain>()
                .DisableLogin();
                //.IsInDebugMode();
            Application.Run(UtfprApplicationContext.Instance);
        }
    }
}
